home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / utils / disk-man / macforma.0 / macforma / macformat / README < prev   
Encoding:
Text File  |  1995-05-01  |  2.8 KB  |  71 lines

  1. Short information about "macformat"
  2. -----------------------------------
  3.  
  4. When you use the Macintosh-Emulator "Executor" for Linux, you may want
  5. to format floppy disks in macintosh format. (For technical reasons,
  6. only the 1.44 MB format is supported by this little program, because
  7. this format uses the same low-level format as the PC 1.44 MB format.
  8. The 800 KB format is _not_ supported!)
  9.  
  10. The simple way is to get a macintosh, format a high density floppy disk
  11. on it, insert the disk into the floppy disk drive of your Linux box and
  12. say "cat /dev/fd0 >MAC_DISK". Whenever you need a macintosh formatted
  13. disk now, simply say "cat MAC_DISK >/dev/fd0" - that's all.
  14.  
  15. The program "macformat" principally does the same, but just writes the
  16. blocks that are really needed to tell the Macintosh that this disk is
  17. a blank disk. Additionally, you can choose a name (disk label) for the
  18. freshly formatted disk. Note: The disk has to be low-level formatted
  19. first; this can be done with "fdformat /dev/fd0". But you only have to
  20. low-level format it the first time (or buy pre-formatted ones). It
  21. doesn't make a difference it you have previously used it with other
  22. file systems, so you doesn't have to 'fdformat' a disk previously used
  23. with MS-DOS etc.
  24.  
  25. To use "macformat", simply insert your disk to be macintosh-formatted
  26. and type:
  27.  
  28.     macformat /dev/fd0
  29.  
  30. After a few seconds (not longer than five seconds), you have a freshly
  31. formatted macintosh disk with the disk label "Empty" - ready for use
  32. with "Executor" or a real Macintosh.
  33.  
  34. If you want to format your disk giving an other disk label to it, just
  35. type:
  36.  
  37.     macformat /dev/fd0 "New Disk"
  38.  
  39. The new disk will then get the disk label "New Disk". For some reason,
  40. the length of the disk label is limited to 10 characters, while a real
  41. Macintosh accepts disk labels with a length up to 27 characters, but
  42. my disk image had a disk label of exactly 10 characters. If you think
  43. you can change it, just take the source (included) and fiddle around
  44. with it. Please drop me a note if you can change it to 27 characters.
  45. (I had no success by simply changing the length limit from 10 to 27,
  46. maybe there's another byte on the disk image that has to be changed.)
  47.  
  48. The other two programs in this package, "bin2c" and "getdiskblocks",
  49. are not needed for normal use. You will only need them if you want
  50. to build a "macformat" binary with data blocks from an other disk
  51. image. The "getdiskblocks" just writes two files with the disk blocks
  52. needed, the "bin2c" converts them to C source, so that there is only
  53. a single binary and no extra data files needed. Just look at the sources,
  54. if you want to play with this.
  55.  
  56. If you have any problems, questions, suggestions, donations, flames,
  57. write to
  58.  
  59.     aeglos@valinor.owl.de
  60.  
  61. or Snail Mail
  62.  
  63.     Holger Schemel
  64.     Sennehof 28
  65.     33659 Bielefeld
  66.     GERMANY
  67.  
  68. Have fun!
  69.  
  70.         Holger
  71.